import {Component, Input} from '@angular/core';
import {NavController} from "ionic-angular";

/**
 * Generated class for the IonUsersComponent component.
 *
 * See https://angular.io/api/core/Component for more info on Angular
 * Components.
 */
@Component({
  selector: 'ion-users',
  templateUrl: 'ion-users.html'
})
export class IonUsersComponent {

  @Input() users: Array<any>;
  constructor(public navCtrl: NavController) {
    console.log('Hello IonUsers Component');
  }
  goDetails(item) {
    console.debug('go details...')
  }


}
